package demo;

import demo.entity.User;

public class Session {
	private final static Session session = new Session(); 
	private User currentUser;
	
	
	private Session(){
		
	}
	
	public static Session getSession() {
		return session;
	}
	
	public void setCurrentUser(User user) {
		this.currentUser = user;
	}
	
	public User getCurrentUser() {
		return this.currentUser;
	}
	
	
}

